package com.alibaba.service;

import com.alibaba.annotation.Service;

@Service("demoService")
public class DemoServiceImpl implements DemoService {
    @Override
    public String get(String name) {
        System.out.println("Service实现类中的Name：" + name);
        return name;
    }

    @Override
    public String get(String name, String pwd) {
        System.out.println("Service实现类中的Name：" + name + " pwd:" + pwd);
        return name + " , " + pwd;
    }
}